using Acme.ELeMe.SDK.Api;

namespace Acme.ELeMe.SDK.Request;

public class SkuSpecUpdatePriceDto : ElmSign
{
    public SkuSpecUpdatePriceDto() : base("sku.spec.update.price")
    {
    }
    
    public string? shop_id { get; set; }
    
    /// <summary>
    /// 饿了么商品ID 可选 sku_id、custom_sku_id和item_id必传其一
    /// </summary>
    public long? sku_id { get; set; }
    
    /// <summary>
    /// 商品自定义ID 可选 sku_id、custom_sku_id和item_id必传其一
    /// </summary>
    public string? custom_sku_id { get; set; }
    
    /// <summary>
    /// 渠道商品多规格价格list
    /// </summary>
    public List<sku_spec_price_list>? sku_spec_price_list { get; set; }
}

public class sku_spec_price_list
{
    public int? sale_price { get; set; }
    /// <summary>
    /// 渠道商品多规格商品自定义ID 可选 sku_spec_id和sku_spec_custom_id必传其一
    /// </summary>
    public string? sku_spec_custom_id { get; set; }
    /// <summary>
    /// 渠道商品多规格商品ID 可选 sku_spec_id和sku_spec_custom_id必传其一
    /// </summary>
    public long? sku_spec_id { get; set; }
}